@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div>
            <div class="ibox-title">
                <h5>管理系统</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="spmc" name="商品名称" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="xhao" name="型号" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="cgyhmc" name="采购用户名称" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="ddh" name="客户订单号" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="ghsmc" name="供货商名称" />
                            </div>
                            <div class="col-sm-2">
                            <#NameCon id="bl4" name="供货商订单号" />
                            </div>

                        </div>
                        <!--<div class="row">-->

                                <!--<div class="col-sm-3">-->
                                      <!--<#NameCon id="ghsmc" name="供货商名称" />-->
                                 <!--</div>-->
                                <!--<div class="col-sm-3">-->
                                    <!--<#NameCon id="bl4" name="供货商订单号" />-->
                                <!--</div>-->
                                <!--<div class="col-sm-3">-->
                                    <!--<#NameCon id="lxr" name="联系人" />-->
                                <!--</div>-->
                                <!--<div class="col-sm-3">-->
                                    <!--<#NameCon id="dh" name="电话" />-->
                                <!--</div>-->

                        <!--</div>-->
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="lxr" name="联系人" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="dhrqdydy" name="订货日期起止时间" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="dhrqxydy" name="至" />
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="dhqk" name="到货情况" underline="true">
                                    <option value="">不限</option>
                                    <option value="是">是</option>
                                    <option value="否">否</option>
                                 </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="dpqk" name="到票情况" underline="true">
                                <option value="">不限</option>
                                <option value="是">是</option>
                                <option value="否">否</option>
                            </#SelectCon>

                             </div>
                            <div class="col-sm-2">
                                <#NameCon id="bl2" name="品牌" />
                            </div>

                        </div>
                        <div class="hidden-xs" id="ProductTableToolbar" role="group">
                            @if(shiro.hasPermission("/product/add")){
                                <#button name="  添  加  " icon="fa-plus" clickFun="Product.openAddProduct()"/>
                            @}
                            @if(shiro.hasPermission("/product/update")){
                                <#button name="  修  改  " icon="fa-edit" clickFun="Product.openProductUpdate()" space="true"/>
                            @}


                            <#button name="  查  看  " icon="fa-eye" clickFun="Product.openProductDetail()" space="true"/>

                            <#button name=" 复 制 " icon="fa-copy" clickFun="Product.openCopyProduct()" space="true"/>

                            @if(shiro.hasPermission("/product/delete")){
                            <#button name="  删  除  " icon="fa-remove" clickFun="Product.delete()" space="true" />
                            @}
                            <!-- 表格导出按钮 $('#？').tableExport ？填写 table id-->
                            <button type="button" id="download" style="margin-left:15px" id="btn_download" class="btn btn-primary" onClick ="$('#ProductTable').tableExport({ type: 'excel', escape: 'false', ignoreColumn: [0]})">当前页面导出excel</button>


                            <#button name="  搜  索  " icon="fa-search" clickFun="Product.search()" space="true"/>


                        </div>
                        <#table id="ProductTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="${ctxPath}/static/modular/product/product/product.js?j=${date().time}"></script>
<script>laydate.render({

    elem:'#dhrqdydy',

});
laydate.render({

    elem:'#dhrqxydy',

});</script>
@}
